-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[py] Fix chromedriver/msedgedriver service tests #16395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[py] Fix chromedriver/msedgedriver service tests #16395
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
Any specific reason to add sleep, it works for me without sleep |
I only added sleeps because some tests were already using them and I wanted them all to be consistent. I'll remove them from all tests and see if they still pass. |
User description
💥 What does this PR do?
This PR updates the chromedriver and msedgedriver service logging tests to make them more flexible due to some recent changes made in the driver logging.
🔄 Types of changes
PR Type
Tests
Description
Update Chrome and Edge driver service logging test assertions
Replace specific log message checks with flexible pattern matching
Fix test failures due to driver logging format changes
Diagram Walkthrough
File Walkthrough
chrome_service_tests.py
Update Chrome service logging test assertions
py/test/selenium/webdriver/chrome/chrome_service_tests.py
"Starting" pattern
none
edge_service_tests.py
Update Edge service logging test assertions
py/test/selenium/webdriver/edge/edge_service_tests.py
flexible "Starting" pattern
none